package com.ruoyi.proSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户首页展示对象 pro_product
 *
 * @author ruoyi
 * @date 2024-07-26
 */
public class ProProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Integer id;

    /** 商品图 */
    @Excel(name = "商品图")
    private String img;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String type;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private String price;

    /** 销量 */
    @Excel(name = "销量")
    private String sales;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private String kucun;

    /** 商品权重 */
    @Excel(name = "商品权重")
    private String quanzhong;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private Integer status;

    /** 商品分类 */
    @Excel(name = "商品分类")
    private String fenlei;

    /** 市场价格 */
    @Excel(name = "市场价格")
    private Integer marketPrice;

    /** 成本 */
    @Excel(name = "成本")
    private Integer costPrice;

    /** 收藏 */
    @Excel(name = "收藏")
    private String love;

    /** 虚拟销量 */
    @Excel(name = "虚拟销量")
    private String virtualSales;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }
    public void setSales(String sales)
    {
        this.sales = sales;
    }

    public String getSales()
    {
        return sales;
    }
    public void setKucun(String kucun)
    {
        this.kucun = kucun;
    }

    public String getKucun()
    {
        return kucun;
    }
    public void setQuanzhong(String quanzhong)
    {
        this.quanzhong = quanzhong;
    }

    public String getQuanzhong()
    {
        return quanzhong;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setFenlei(String fenlei)
    {
        this.fenlei = fenlei;
    }

    public String getFenlei()
    {
        return fenlei;
    }
    public void setMarketPrice(Integer marketPrice)
    {
        this.marketPrice = marketPrice;
    }

    public Integer getMarketPrice()
    {
        return marketPrice;
    }
    public void setCostPrice(Integer costPrice)
    {
        this.costPrice = costPrice;
    }

    public Integer getCostPrice()
    {
        return costPrice;
    }
    public void setLove(String love)
    {
        this.love = love;
    }

    public String getLove()
    {
        return love;
    }
    public void setVirtualSales(String virtualSales)
    {
        this.virtualSales = virtualSales;
    }

    public String getVirtualSales()
    {
        return virtualSales;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("type", getType())
            .append("name", getName())
            .append("price", getPrice())
            .append("sales", getSales())
            .append("kucun", getKucun())
            .append("quanzhong", getQuanzhong())
            .append("status", getStatus())
            .append("fenlei", getFenlei())
            .append("marketPrice", getMarketPrice())
            .append("costPrice", getCostPrice())
            .append("love", getLove())
            .append("virtualSales", getVirtualSales())
            .toString();
    }
}
